
<%@ page import="User.people" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>MyWindow</title>
</head>
<body>
<%
    people p=(people)session.getAttribute("LOGIN");

%>
<%
    if(p!=null)
    {
%>
<%=p.getGroup()%>
<br/>
<%=p.getName()%>
<br/>
<%=p.getUsername()%>
<br/>
<%=p.getOpenid()%>
<br/>
<%=p.getWx_openid()%>
<br/>
<a href="https://cas.dgut.edu.cn/logout?callback=https://cas.dgut.edu.cn?appid=javaee&state=STATE"> 退出</a>
<%
}
else
{
%>
<a href="https://cas.dgut.edu.cn?appid=javaee&state=STATE"> 登录</a>
<%
    }
%>
</body>
</html>